commit: Reject non-regular/non-symlinks earlier with better error message
authorColin Walters <walters@verbum.org>
Fri, 17 Jan 2014 15:32:34 +0000 (10:32 -0500)
committerColin Walters <walters@verbum.org>
Fri, 17 Jan 2014 15:39:36 +0000 (10:39 -0500)
commit5034bf3a9d9afc3918fa2ffd106c43de2414072b
tree5f8ca7d1dd434c1f4f68b992c8e1438e4384f46a
parentb2d0ba7ac1e742586eeb3018d88e01dc436d5b4d
commit: Reject non-regular/non-symlinks earlier with better error message

Also avoid _NOT_SUPPORTED as that triggers the --help behavior from
the commandline; just use _FAILED.

https://bugzilla.gnome.org/show_bug.cgi?id=722410
src/libostree/ostree-repo-commit.c
tests/test-basic.sh